package com.cowmooed.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

public class FileUrlItem {

    @JsonProperty("Type")
    private String type;

    @JsonProperty("Url")
    private String url;

    @JsonProperty("PreviewImageUrl")
    private String previewImageUrl;

    // 构造函数
    public FileUrlItem() {}

    public FileUrlItem(String type, String url, String previewImageUrl) {
        this.type = type;
        this.url = url;
        this.previewImageUrl = previewImageUrl;
    }

    // Getter和Setter方法
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPreviewImageUrl() {
        return previewImageUrl;
    }

    public void setPreviewImageUrl(String previewImageUrl) {
        this.previewImageUrl = previewImageUrl;
    }

    // toString方法，用于调试打印
    @Override
    public String toString() {
        return "FileUrlItem{" +
                "type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", previewImageUrl='" + previewImageUrl + '\'' +
                '}';
    }
}